<?php $collection = $this->getCollection(); ?>
<?php $currentPage = (int)$this->getRequest()->getParam('page'); ?>
<?php if(!$currentPage): ?>
<?php $currentPage = 1; ?>
<?php endif; ?>
<?php $pages = ceil(count($collection) / 2); ?>
<?php $links = ""; ?>
<?php if ($currentPage != 1): ?>
<?php echo '<a href="' . $this->getUrl('news/page') . ($currentPage - 1) . '" >' . Mage::helper('news')->__('Newer Posts') . '</a>'; ?>
<?php endif; ?>
<?php if ($currentPage != $pages): ?>
<?php echo '<a href="' . $this->getUrl('news/page') . ($currentPage + 1) . '" >' . Mage::helper('news')->__('Older Posts') . '</a>'; ?>
<?php endif; ?>